Skip to main content
Version: 5.0.x {nightly}

Limiters

Limiter response time

Limiter response time can be adjusted using the gain parameters. But in general, the response time is around 10ms.

Static variables

limit

is located in /driver/limit folder.

It is bitwise number. Each bit represent active limiter.
This will not tell you how much output power is limited. For that check value of /driver/total_limit

BitNameDescription
0DRIVER_LIMIT_IBPOSBattery positive current higher than ibpos
1DRIVER_LIMIT_IBNEGBattery negative current higher than ibneg
2DRIVER_LIMIT_UBMINBattery voltage lower than ubmin
3DRIVER_LIMIT_UBMAXBattery voltage higher than ubmax
4DRIVER_LIMIT_PPOSPositive power higher than ppos
5DRIVER_LIMIT_PNEGNegative power higher than pneg
6DRIVER_LIMIT_RPOSPositive RPM higher than rpos ? rdec/2
7DRIVER_LIMIT_RNEGNegative RPM higher than rneg ? rdec/2
8DRIVER_LIMIT_MOTORTEMPMeasured motor temperature higher than motortemplo
9DRIVER_LIMIT_MRESMotor temperature (estimated from winding resistance) higher than mreslo
10DRIVER_LIMIT_BTEMPBattery temperature higher than btempmaxlo or lower than btempminlo
11DRIVER_LIMIT_BCELLCell voltage higher than bcellmax or lower than bcellmin
12DRIVER_LIMIT_CSRSweep rate limiter active
13DRIVER_LIMIT_EXTExternal (application) limiter active - elimit lower than 1
14DRIVER_LIMIT_IMULTimult is not equal to 1
15DRIVER_LIMIT_UMULTumult is not equal to 1

eblimit [-]

is located in /driver/limit folder.

This is the limit value of the external limiter (from the application). This limiter scales the ibpos and ibneg limiters. If they are set to 0, this value is ignored.

elimit [-]

is located in /driver/limit folder.

This is the limit value of the external limiter (from the application).

totallimit [-]

is located in /driver folder.

Total actual limitation of the Q-axis current. 1 = no limitation. (Driver have 100% of its current)
0 = full limitation. (Driver have 0% of its current)